#pragma once

#include <map>
#include <string>
//#include "InstIdMap.h"
//#include "InstId2FlagMap.h"
#include "IdMap.h"

class DLL_BIZCOMMON InstDataConverter
{
public:
	InstDataConverter() {}
	virtual ~InstDataConverter() {}

	static char InstId2Flag(const char* instId);//id->flag
	static std::string InstFlag2Code(const char flag);//flag->code
	static std::string InstId2Code(const char* instId); //id->code
	static std::string InstFlag2Id(const char flag);//flag->id

	static char InstId2Flag(const char* instId, IdMap *map);//id->flag
	static std::string InstFlag2Code(const char flag, IdMap *map);//flag->code
	static std::string InstId2Code(const char* instId, IdMap* map); //id->code
	static std::string InstFlag2Id(const char flag, IdMap *map);//flag->id

	//static char InstCode2Flag(const char* InstId);//code->flag
	//static char* InstCode2Id(const char* instId); //code->id


private:



};

